﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Role.ascx.cs" Inherits="Admin_Components_Member_RoleDetail" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:ScriptManager ID="ScriptManager2" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <div>
                    <div class="form-horizontal col-md-6 wrapper-center">
                        <div class="form-group">
                            <label class="col-md-4 control-label">
                                Nhóm quyền cấp trên</label>
                            <div class="col-md-8">
                                <telerik:RadComboBox ID="cboParentID" runat="server" Width="183px" CssClass="col-imp-8"
                                    AutoPostBack="true" OnSelectedIndexChanged="cboParentID_SelectedIndexChanged"
                                    TabIndex="1">
                                </telerik:RadComboBox>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-4 control-label">
                                Mã chức danh hệ thống</label>
                            <div class="col-md-8">
                                <telerik:RadTextBox ID="txtID" runat="server" CssClass="col-imp-8" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-4 control-label star">
                                Tên chức danh hệ thống</label>
                            <div class="col-md-8">
                                <telerik:RadTextBox ID="txtRoleName" runat="server" OnTextChanged="txtRoleName_TextChanged"
                                    TabIndex="2" CssClass="col-imp-8" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtRoleName"
                                    runat="server" ErrorMessage="Không được rỗng"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-4 control-label">
                                Ghi chú</label>
                            <div class="col-md-8">
                                <telerik:RadTextBox ID="txtRemark" runat="server" CssClass="col-imp-8" OnTextChanged="txtRemark_TextChanged"
                                    TabIndex="3" />
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-8">
                                <asp:RadioButton ID="radYes" runat="server" Checked="True" GroupName="ChucNang" Visible="false"
                                    OnCheckedChanged="radYes_CheckedChanged" TabIndex="4" />
                                <asp:Label ID="lblTrue" runat="server" Text="Có" CssClass="lbl1" Visible="false" />
                                <asp:RadioButton ID="radNo" runat="server" Checked="True" GroupName="ChucNang" Visible="false"
                                    OnCheckedChanged="radNo_CheckedChanged" TabIndex="5" />
                                <asp:Label ID="lblFalse" runat="server" Text="Không" CssClass="lbl1" Visible="false" />
                            </div>
                        </div>
                        <div class="is1">
                            <div class="textbox1">
                                <asp:Label ID="lblValidatorQuanTriHeThong" runat="server" Text="Chọn Có hoặc Không"
                                    Visible="false" CssClass="lblValidation" />
                            </div>
                        </div>
                        <div class="set-btns text-center">
                            <asp:Button CssClass="btn btn-sm btn-primary" ID="btnSave" runat="server" Text="Lưu"
                                OnClick="btnSave_Click" TabIndex="6" />
                            <asp:Button CssClass="btn btn-sm btn-warning" ID="btnDelete" OnClientClick="return ConfirmOnDelete('Bạn có chắc xóa? Nếu Nhóm quyền này đang được sử dụng để phân quyền cho các user, sẽ xoá các phân quyền liên quan đến Nhóm quyền này.');"
                                runat="server" Text="Xóa" OnClick="btnDelete_Click" CausesValidation="false"
                                TabIndex="7" />
                            <asp:Button CssClass="btn btn-sm btn-primary" ID="btnNew" runat="server" Text="Nhập lại"
                                OnClick="btnNew_Click" CausesValidation="false" TabIndex="8" />
                            <asp:Button CssClass="btn btn-sm btn-primary" ID="btnGotoList" runat="server" Text="Danh sách"
                                OnClick="btnGotoList_Click" CausesValidation="false" TabIndex="9" />
                        </div>
                    </div>
                </div>
            
            </ContentTemplate>
  
        </asp:UpdatePanel>

<div class="progressbar">
    <asp:UpdateProgress ID="up" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
        <ProgressTemplate>
            <img src="Template/Images/ajax-progress-bar.gif" alt="progressbar" />
        </ProgressTemplate>
    </asp:UpdateProgress>
</div>
